package com.ppblock.shirox.surpport;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * 权限认证注解接口
 * @author yangjian
 * @version 2017-11-29
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RequiresPermissions {
    /**
     * 权限标识数组，例如: {"user:add","user:edit"}
     * @return
     */
    String[] value();
}
